package reflect;

/**
 * Created by 5406160@qq.com on LiBoWen 李博闻.
 *
 * @ClassName : ClassLoaderTest
 * @Author : 54061
 * @Date: 2022/2/25 19:14
 */
public class ClassLoaderTest {
    public static void main(String[] args) {
        //application
        ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
        System.out.println("systemClassLoader = " + systemClassLoader);
        ClassLoader extClassLoader = systemClassLoader.getParent();
        System.out.println("extClassLoader = " + extClassLoader);
        ClassLoader rootClassLoader = extClassLoader.getParent();
        System.out.println("rootClassLoader = " + rootClassLoader);
    }
}
